<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>FortiWEB Auto-learn</title>
    <!-- development stage starts -->
    <script type="text/javascript" src="../build/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script type="text/javascript" src="../build/utilities/utilities.js"></script>
    <script type="text/javascript" src="../build/container/container-min.js"></script>
    <!-- YUI 2.6.0 -->
    <!--script type="text/javascript" src="../build/element/element-beta-min.js"></script-->
    <!-- YUI 2.7.0 -->
    <script type="text/javascript" src="../build/logger/logger-min.js"></script> 
    <script type="text/javascript" src="../build/button/button-min.js"></script>
    <script type="text/javascript" src="../build/tabview/tabview-debug.js"></script>
    <script type="text/javascript" src="../build/datasource/datasource-debug.js"></script>
    <script type="text/javascript" src="../build/datatable/datatable-debug.js"></script>
    <!-- development stage ends -->
    
    <!-- release stage 260 starts -->
    <!--script type="text/javascript" src="combo260.js"></script-->
    <!-- release stage ends -->

    <!-- my own js starts-->
    <script type="text/javascript" src="yui-accordion/accordionview/utilities.js"></script>
    <script type="text/javascript" src="yui-accordion/accordionview/accordionview.js"></script>
    <script type="text/javascript" src="policy.js"></script>
    <!-- my own js ends-->

    <!-- development stage starts -->
    <link rel="stylesheet" type="text/css" href="../build/container/assets/skins/sam/container.css">
    <link rel="stylesheet" type="text/css" href="../build/reset-fonts-grids/reset-fonts-grids.css">
    <link rel="stylesheet" type="text/css" href="../build/logger/assets/skins/sam/logger.css"> 
    <link rel="stylesheet" type="text/css" href="../build/button/assets/skins/sam/button.css" />
    <link rel="stylesheet" type="text/css" href="../build/tabview/assets/skins/sam/tabview.css"/>
    <link rel="stylesheet" type="text/css" href="../build/datatable/assets/skins/sam/datatable.css" />
    <!-- development stage ends -->

    <!-- release stage 260 starts -->
    <!--link rel="stylesheet" type="text/css" href="combo260.css" /-->
    <!-- release stage ends -->

    <!-- my own css starts-->
    <link rel="stylesheet" type="text/css" href="yui-accordion/accordionview/assets/skins/sam/reset-fonts.css"> 
    <link rel="stylesheet" type="text/css" href="yui-accordion/accordionview/assets/skins/sam/accordionview.css"> 
    <link rel="stylesheet" type="text/css" href="policy.css">
    <!-- my own css ends-->
    
  </head>
  <body class="yui-skin-sam">
    <div id="doc3" class="yui-t1">
      <div id="hd" class="mainHD">
        <h1>FortiWeb-1000B</h1>
      </div>
      <div id="bd" class="mainBD">
        <div class="yui-b">
            <ul id="mymenu">
                <li><h3>System</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="#" onclick="javascript:YAHOO.FortiWeb.autolearn.statusPage(); return false;">Status</a></li>
                           <li><a href="..">Network</a></li>
                           <li><a href="..">Config</a></li>
                           <li><a href="..">Admin</a></li>
                           <li><a href="..">Maintenance</a></li>
                       </ul>
                   </div>
               </li>
               <li><h3>Router</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="..">Static</a></li>
                       </ul>
                   </div>
               </li>
                <li><h3>Server Policy</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="#" onclick="javascript:YAHOO.FortiWeb.autolearn.policyPage(); return false;">Policy</a></li>
                           <li><a href="..">Server</a></li>
                           <li><a href="..">Monitor</a></li>
                           <li><a href="..">Service</a></li>
                           <li><a href="..">Import Certificate</a></li>
                           <li><a href="..">Protected Servers</a></li>
                           <li><a href="#" onclick="javascript:YAHOO.FortiWeb.autolearn.patternPage(); return false;">Patterns</a></li>
                       </ul>
                   </div>
               </li>
                <li><h3>XML Protection</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="..">Schedule</a></li>
                           <li><a href="..">Filter</a></li>
                           <li><a href="..">Intrusion</a></li>
                           <li><a href="..">WSDL Routing</a></li>
                           <li><a href="..">XML Sig/Enc</a></li>
                           <li><a href="..">Load Schema</a></li>
                           <li><a href="..">Load WSDL</a></li>
                           <li><a href="..">XML Profile</a></li>
                       </ul>
                   </div>
               </li>
                <li><h3>Web Protection</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="..">Input Rules</a></li>
                           <li><a href="..">Page Access</a></li>
                           <li><a href="..">Server Protection</a></li>
                           <li><a href="..">Start Pages</a></li>
                           <li><a href="..">Black List</a></li>
                           <li><a href="..">White List</a></li>
                           <li><a href="..">Malicious Robot</a></li>
                           <li><a href="..">Brute Force Login</a></li>
                           <li><a href="..">Web Protection Profile</a></li>
                           <li><a href="#" onclick="javascript:YAHOO.FortiWeb.autolearn.autolearnPage(); return false;">Web AutoLearn Profile</a></li>
                       </ul>
                   </div>
               </li>
                <li><h3>Log&Report</h3>
                   <div>
                       <ul class="submenu">
                           <li><a href="..">Log Config</a></li>
                           <li><a href="..">Log Access</a></li>
                       </ul>
                   </div>
               </li>
            </ul>
        </div>
        
        <div id="yui-main">
          <div class="yui-b">
            <div id="contentPanel">
            </div>
            <div id="patternTab" style="display:none"></div>
          </div>
          <!-- end of yui-b -->
        </div>
        <!-- end of yui-main -->
      </div>
      <div id="ft">
        <p class="ftext">Copyright&copy; Fortinet 2009</p>
      </div>
    </div>
            <!--div id="panel1">
              <div class="hd">Panel #1 from Markup &mdash; This Panel is Draggable</div>
              <div class="bd">This is a Panel that was marked up in the document.</div>
              <div class="ft">End of Panel #1</div>
            </div-->
    <div id="panelform" style="display:none">
          <table class="tableDialog">
            <tr>
              <td class="tdLeft"><label>Policy Name</label></td>
              <td class="tdLeft"><input type="text"></input></td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Run Mode</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">Inline-Protect</option>
                  <option value="datetime">Offline-Protect</option>
                  <option value="number">Offline-Learn</option>
                </select>
              </td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Protection Mode</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">XML Firewall</option>
                  <option value="datetime">WAF Firewall</option>
                </select>
              </td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Virtual Server</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">vs1</option>
                  <option value="datetime">vs2</option>
                </select>
              </td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Service</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">HTTP</option>
                  <option value="datetime">HTTPS</option>
                </select>
              </td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Auto-learning Profile</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">auto1</option>
                  <option value="datetime">auto2</option>
                </select>
              </td>
            </tr>
            
            <tr>
              <td class="tdLeft"><label>Deploy Mode</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">Single Server</option>
                  <option value="datetime">Server Balance</option>
                  <option value="string">Content Routing</option>
                  <option value="datetime">WSDL Content Routing</option>
                </select>
              </td>
            </tr>
            
            <tr>
              <td class="tdLeft"><label>Physical Server</label></td>
              <td class="tdLeft">
                <select id="runMode">
                  <option value="string">ps1</option>
                  <option value="datetime">ps2</option>
                </select>
              </td>
            </tr>
            
            <tr>
              <td class="tdLeft"><label>Physical Server Port</label></td>
              <td class="tdLeft"><input type="text" value="80"></input></td>
            </tr>
            
            <tr>
              <td class="tdLeft"></td>
              <td class="tdLeft"></td>
            </tr>

            <tr>
              <td class="tdLeft"><button type="button" id="policyOK">OK</button></td>
              <td class="tdLeft"><button type="button" id="policyCancel">Cancel</button></td>
            </tr>
          </table>
    </div>        

    <div id="autolearn" style="display:none">
          <table class="tableDialog">
            <tr>
              <td class="tdLeft"><label>Autolearn Profile Name</label></td>
              <td class="tdLeft"><input type="text"></input></td>
            </tr>

            <tr>
              <td class="tdLeft"><label>Parameter Pattern Group</label></td>
              <td class="tdLeft">
                <select id="ppgroup">
                  <option value="string">patternGrp1</option>
                  <option value="datetime">patternGrp2</option>
                </select>
              </td>
            </tr>
            
            <tr>
              <td class="tdLeft"></td>
              <td class="tdLeft"></td>
            </tr>

            <tr>
              <td class="tdLeft"><button type="button" id="policyOK">OK</button></td>
              <td class="tdLeft"><button type="button" id="policyCancel">Cancel</button></td>
            </tr>
          </table>
    </div>        
  </body>
</html>
